<div class="ui-tab">
    <ul>
        <li class="tab-item <{if $action eq 'orderList'}>selected<{/if}>"><a href="<{U('orderList')}>" onclick="LayerShow();">预约管理</a></li>
        <li class="tab-item <{if $action eq index and $actype eq 'online'}>selected<{/if}>"><a href="<{u(index)}>&actype=online" onclick="LayerShow();">已上线</a></li>
        <li class="tab-item <{if $action eq index and $actype eq 'offline'}>selected<{/if}>"><a href="<{u(index)}>&actype=offline" onclick="LayerShow();">待上线</a></li>
        <li class="tab-item <{if $action eq edit or $action eq add}>selected<{/if}> last-item">
            <{if $id}><a href="javascript:void(0);">修改项目</a>
            <{else}><a href="<{u(add)}>" onclick="LayerShow();">新增项目</a><{/if}>
        </li>
    </ul>
</div>